export default class DelFriend {
    constructor(socket) {
        this.socket = socket;
    }
    sendMessage() {
    }
    /*收到服务器回执信息的处理*/
    receiptMsg(data) {
        return data.body;
    }
    // 收到消息
    getMsg(msg) {
        const res = this.socket.talkObject.deleteTalk(msg.body.talk_id);
        this.socket.friendObject.deleteFriend(msg.body.talk_id);
        console.log(this.socket.friendObject.getFriendList());
        if (res.code != 200) {
            console.log(res.data);
            return
        }
        //执行更新视图
    }
}